package com.easyOrder.dao;

import com.easyOrder.model.DocumentChangeRecord;
import com.easyOrder.model.DocumentChangeRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DocumentChangeRecordMapper {
    int countByExample(DocumentChangeRecordExample example);

    int deleteByExample(DocumentChangeRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(DocumentChangeRecord record);

    int insertSelective(DocumentChangeRecord record);

    List<DocumentChangeRecord> selectByExampleWithBLOBs(DocumentChangeRecordExample example);

    List<DocumentChangeRecord> selectByExample(DocumentChangeRecordExample example);

    DocumentChangeRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") DocumentChangeRecord record, @Param("example") DocumentChangeRecordExample example);

    int updateByExampleWithBLOBs(@Param("record") DocumentChangeRecord record, @Param("example") DocumentChangeRecordExample example);

    int updateByExample(@Param("record") DocumentChangeRecord record, @Param("example") DocumentChangeRecordExample example);

    int updateByPrimaryKeySelective(DocumentChangeRecord record);

    int updateByPrimaryKeyWithBLOBs(DocumentChangeRecord record);

    int updateByPrimaryKey(DocumentChangeRecord record);
}